#pragma once
#include <vector>
#include "Item.h"
#include "Menu.h"
using namespace std;

struct MenuItem;

class TileAction
{
	public:
		TileAction(Tile aTile, int aX, int aY, Item* aSpecialItem = nullptr);
		~TileAction();

		string name;
		vector<Item> items;
		MenuItem* menu;

		EObject object;
		int x;
		int y;

		bool locked;

		void RefreshItems();
		MenuItem* GetMenu();
};